class CreateMedias < ActiveRecord::Migration
  def self.up
    create_table :medias do |t|
      t.integer :rmedia_id
      t.integer :created_by
      t.datetime :created_at
      t.string :rmedia_type

      t.timestamps
    end
  end

  def self.down
    drop_table :medias
  end
end
